package com.momoauth.gateway.config;

import com.alibaba.nacos.api.config.annotation.NacosConfigurationProperties;
import com.alibaba.nacos.api.config.annotation.NacosValue;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;
import java.util.List;

@Data
@Component
@ConfigurationProperties(prefix="common.filter")
@NacosConfigurationProperties(dataId = "common-dev.yml")
public class CommonConfig {
    @NacosValue("${url}")
    private List<String> url;
}
